﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Sistema.Menu.SCHD
{
    public partial class TabMenuControl : TabControl
    {
        public TabMenuControl()
        {
            InitializeComponent();
        }

        public TabMenuControl(IContainer container)
        {
            container.Add(this);

            InitializeComponent();
        }
        public TabMenuControl(string Opcion)
        {
            InitializeComponent();
            CargarTAB(Opcion);
        }
        public void CargarTAB(string opcion)
        {
            this.TabPages.Add(opcion);
        }
    }
}
